12/9/2021

Purpose

  • Create a web page presentation using R Markdown that features a plot created with Plotly.
  • Host your webpage on either GitHub Pages, RPubs, or NeoCities.

Code for plot created by plotly

library(plotly)

x <- rnorm(100, 5, 0.3)
y <- rnorm(100, 80, 5)
z <- runif(100)+rnorm(100, 60, 8)

dm <- matrix(cbind(x,y,z), nrow = 100, ncol = 3)
plot_ly(z=dm, type="surface")

Plot created by plotly